entry completion: Only grab the device if we have one
authorMatthias Clasen <mclasen@redhat.com>
Fri, 16 Oct 2015 00:16:54 +0000 (20:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 16 Oct 2015 00:18:26 +0000 (20:18 -0400)
commit0731c502626d2b739281f7bb87f5cfd9d8a61ade
tree82df8c652f23d8b5fe74f626d6c9e8e098cf70d4
parentdd3f4f29047dc87a412e1e4432d39d56bbd01e5d
entry completion: Only grab the device if we have one

When the entry completion is popped up from a timeout, we may
not have a device. In that case, don't call gdk_device_grab,
do avoid criticals.
gtk/gtkentrycompletion.c